package com.fhnew.app.util;

import android.util.Log;

import com.fhnew.app.BuildConfig;

public class HLog {

    private static boolean DEBUG  = BuildConfig.DEBUG;

    public static void I(String msg){
        if(!DEBUG)return;
        Log.i("result",msg);
    }

    public static void D(String msg){
        if(!DEBUG)return;
        Log.d("result",msg);
    }
    public static void E(String msg){
        if(!DEBUG)return;
        Log.e("result",msg);
    }




    public static String stackTrace() {
        StackTraceElement ste = new Throwable().getStackTrace()[1];
        return ste.getClassName() + "*" + ste.getLineNumber() + "\n";
    }
}
